package com.chong.struct;

public class ForDemo4 {
    public static void main(String[] args) {
        //增强型for循环
        int[] nums = {20, 30, 40, 50};
        for (int i:nums){
            System.out.println(i);
        }
    }
}
